home *** CD-ROM | disk | FTP | other *** search
- Path: cpsc.ucalgary.ca!kaye
- From: kaye@cpsc.ucalgary.ca (Douglas Kaye)
- Newsgroups: comp.unix.programmer,comp.lang.c
- Subject: getting window sizes into c code
- Date: 15 Mar 1996 21:21:21 GMT
- Organization: University of Calgary CPSC
- Message-ID: <4icn0h$aod@linux.cpsc.ucalgary.ca>
- NNTP-Posting-Host: jb.cpsc.ucalgary.ca
-
- Does anyone know how I can get the number of rows and columns
- in a window into a piece of C code I am writting. I can't use
- getenv LINES (or COLS) becuase that just gets the size that
- the windows originally were, and I have to take int account
- resizing.
-
- btw I am running this in csh on SunOS Release 4.1.4
-
- Thanks alot,
-
- Doug Kaye
- kaye@cpsc.ucalgary.ca
- http://www.cpsc.ucalgary.ca/~kaye
- --
- Doug Kaye
- kaye@cpsc.ucalgary.ca
- http://www.cpsc.ucalgary.ca/~kaye
-